package com.zhuiyun.project.api.products.productsort.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhuiyun.project.api.products.productsort.entity.ProductSort;


/**
 * @ClassName ProductSortService
 * @Description TODO 商品分类关联表接口
 * @Author ypq
 * @Date 2023/10/25 19:06
 **/
public interface ProductSortService extends IService<ProductSort> {
    /**
     * @Author ypq
     * @Description 根据商品id修改分类id
     * @Date 2023/10/27 15:59
     * @Return int
     * @param productSort
     */

    int editSortIdByProductId(ProductSort productSort);

    /**
    * @Author ypq
    * @Description 新增商品id与分类id关联表
    * @Date 2023/10/31 16:32
    * @Return boolean
    * @param productSort
    */
    
    boolean addSortId(ProductSort productSort);

}
